package com.example.example.modules.test.dto;

import com.example.example.config.DictType;
import com.example.example.config.GetTranslate;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author qiancheng@cqxyy.net
 * @date 2022/9/8
 */
@ApiModel(value = "DictRsp", description = "字典表")
@Data
public class DictRsp {
    @GetTranslate("sex")
    private List<Integer> sex;

    @GetTranslate("sexRO")
    private int sexRO;

    /**
     * 注解提供的翻译属性
     */
    private Map<String,List<DictType>> ext;
}
